<?php
include("../include/common.php");
session_start();

if (!$_SESSION['user']) {
	header("Location: /user/login.php");
	die('您还未登录跳转中。。。请稍等');
}else{
	$_SESSION['user'] = $DB->get_row("SELECT * FROM `user` WHERE id = ".$_SESSION['user']['id']);
}
?>